#ifndef DATETIME_H_
#define DATETIME_H_
#include "date.h"
#include "time.h"
#include <iostream>

class DateTime : public Date, Time {
public:
  DateTime(const Date &date, const Time &time) : Date(date), Time(time){};
  void Print() {
    printf("%d %02d %02d-%02d-%02d CST %d\n", Date::getMonth(), Date::getDay(),
           Time::getHout(), Time::getMinute(), Time::getSecond(),
           Date::getYear());
  }
};
#endif